import { $axios } from '@/utils/http';

// 获取库存记录表
export async function getAllStockOut(params?: RecordItem) {
  return $axios.request({
    url: 'http://localhost:8090/dyh/stockOut/getAllStockOut',
    method: 'GET',
    params,
  });
}

// 新增出库单
export async function addStockOut(params?: RecordItem) {
  return $axios.request({
    url: 'http://localhost:8090/dyh/stockOut/addStockOut',
    method: 'POST',
    params,
  });
}
